package edu.sctu.practice.class02.xuqianlan.assign.assign01;

/**
 * Created by lenovo on 2015/10/22.
 */
public class Rectangle extends GeometricObject {
    public  double width=4;
    public double height=5;


    public double findArea(){
        return(width*height);
    }
    public double findPerimeter(){
        return((width+height)*2);
    }

    public Rectangle(String color,double r,double weight){
        super(color,r,weight);
    }

}
